package com.zjitc.P3.demo1;


import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

/**
 * Create by IntelliJ IDEA
 *
 * @author: jsonor
 * @date-Time: 2018/3/13 16:03
 * @description:
 */
@Configuration
@EnableAspectJAutoProxy
public class  AspectConfiguration {

    @Bean
    public AspectDemo aspectDemo(){
        return new AspectDemo();
    }

    @Bean
    public A a(){
        return new A();
    }

}
